package com.zhixiang.xaec.service.system.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.system.DicDetailDao;
import com.zhixiang.xaec.entity.system.DicDetail;
import com.zhixiang.xaec.service.system.DicDetailService;

@Service
public class DicDetailServiceImpl extends BaseServiceImpl<DicDetail,Long> implements DicDetailService
{

    @Resource(type=DicDetailDao.class)
    public void setBaseDao(BaseDao<DicDetail,Long> dao)
    {
        setDao(dao);
        
    }
    
    @Override
    public DicDetail findByDicNoAndCodeNo(String dicNo, String codeNo)
    {
        return ((DicDetailDao)getDao()).findByDicNoAndCodeNo(dicNo, codeNo);
    }
     
    
}
